package com.songcha.sakura.service



import android.app.NotificationManager
import android.app.Service
import android.content.Intent
import android.os.IBinder
import androidx.core.app.NotificationCompat
import com.songcha.library_common.util.LogUtil


class TestService:Service() {

    private var mBuilder: NotificationCompat.Builder? = null
    private var mNotificationManager: NotificationManager? = null

    override fun onCreate() {
        super.onCreate()
        LogUtil.log("TestService onCreate")
    }

    override fun onBind(intent: Intent?): IBinder? {
        //return MyBinder()
        LogUtil.log("TestService onBind")
        return null
    }

    override fun onDestroy() {
        super.onDestroy()
        LogUtil.log("TestService onDestroy")
    }

    override fun onUnbind(intent: Intent?): Boolean {
        return super.onUnbind(intent)
        LogUtil.log("TestService onUnbind")

    }



    override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
        LogUtil.log("TestService onStartCommand")


        return super.onStartCommand(intent, flags, startId)
    }



}